package com.yanqu.road.entity.enums;

/**
 * 万能活动类型
 */
public enum eCommonActivityType {
	/**
	 * 花灯
	 */
	LanternActivity(1),
	/**
	 * 钓鱼
	 */
	FishActivity(2),
	/**
	 * 怡红院
	 */
	WhoringActivity(3),
	/**
	 * 蹴鞠
	 */
	FootballActivity(4),
	;

	private int intValue;

	eCommonActivityType(int value) {
		intValue = value;
	}

	public int getValue() {
		return intValue;
	}

	public static eCommonActivityType forValue(int value) {
		for (eCommonActivityType type : eCommonActivityType.values()) {
			if (type.intValue == value) {
				return type;
			}
		}
		return null;
	}
}
